AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / Instalar aplicaciones y sitios / Aplicación WINDEV / Editor de instalaciones
  • Overview
  • Creating a shortcut
  • Creating a shortcut
  • Managing the collisions
  • Managing the collisions
  • Saving the replaced files
  • Proposing the backup of replaced files
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WDInst: set file installation parameters
Overview
WDInst is used to configure the installation of files:
  • Create a shortcut for each file installed (with a command line if necessary).
  • Manage the collisions when updating the application (replace or not the existing files).
  • Save the replaced files when the application is updated (automatic backup of existing files).
The characteristics of file setup are configured in the setup editor WDInst. To start WDInst, go to the "Tools" tab, "Utilities" group and click "WDInst".
Unlike the setup program creation wizard, WDInst includes advanced options to configure the files to install.
Creating a shortcut
For each file to install, WDInst allows you to create:
  • A shortcut on the desktop of the setup computer.
  • A shortcut in a group of programs.
  • A shortcut in the launch bar.
By default, for each executable installed, a shortcut will be created:
  • on the desktop of setup computer.
  • in a group of programs.
  • in the taskbar.
Note Shortcut labels are created in the language in which the installation program is run.

Creating a shortcut

To create a shortcut:
  1. Select the desired file in the "List of setup files" window.
  2. Go to the "Shortcut" tab of the "File description" window.
  3. Check the desired option:
    • "Create a shortcut on the desktop" to create the application shortcut on the user's desktop.
    • "Create a shortcut in a program group" to create the shortcut in the specified group.
    • "Create a shortcut in the taskbar" to create the shortcut in the Windows taskbar.
      All these options can be cumulated.
  4. Enter the caption of the shortcut in each language supported by the setup program.
  5. Enter (if necessary) the group of programs where the shortcut must be created.
    Note If this program group does not exist on the user workstation, this group will be created.
  6. Specify (if necessary) the parameters of the shortcut. The execution of this shortcut will start a command line.
    For example, the command line: "C:\MyDirectory\MyApplication.EXE /Login = Will" consists of:
    • The full path of the file associated with the shortcut.
      In our example: "C:\MyDirectory\MyApplication.EXE".
    • The shortcut parameters.
      In our example: "/Login = Will".
Managing the collisions
By default, when updating an application, if files with the same already exist in the installation directory, these files are replaced (except if the files already found on the computer are more recent than the ones found in the setup).
No warning window is displayed to confirm these replacements.
WDInst is used to configure the setup program to:
  • Install the files even if files with the same name and more recent are found in the installation directory.
  • Avoid installing the files if files with the same name are found in the installation directory.
  • Ask the user to confirm whether the files must be replaced or not.
  • Rename the existing files.

Managing the collisions

To manage the collisions:
  1. Select the desired file(s) in the "List of setup files" window.
    To select several files simultaneously, hold the Ctrl or Shift key down when selecting files.
  2. Go to the "Version" tab of the "File description" window:
    • To avoid installing the selected files if files with the same name are found in the installation directory, check "Don't install if the file already exists (no other checks will be performed)".
    • To replace the existing file(s) (even if they are more recent), check "Replace the file even if it is more recent".
    • To request confirmation from the user to replace the selected file(s), check "Ask for confirmation before replacing the file".
    • To rename the existing files in the installation directory before installing new files, check "Rename the replaced file to the name specified below". Enter the name and extension of the replaced file.
      For example: "MyImage_Bak.GIF".
      Note: This operation must be performed for each replaced file to be renamed.
Saving the replaced files
When updating an application, an additional plane can be included in the setup program. This additional plane allows the user to save the replaced files in a backup directory. This backup directory will be named "Backup_<BackupDate>_<BackupTime>" by default.
This backup can be used if the setup fails for example. To use this backup, the user will have to copy the files found in the backup directory into the installation directory of application.
The backup of replaced files is proposed by default to the users.

Proposing the backup of replaced files

To propose the backup of replaced files:
  1. In the WDInst installation editor: select the "Installation parameters . Wizard" option.
  2. Check "Propose to save the elements replaced with the setup program".

    When installing the application, the user will be able to:
    • Choose to save the replaced files.
    • Modify the backup directory proposed by default.
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 03/04/2025

Señalar un error o enviar una sugerencia | Ayuda local